﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Xml.Linq;

namespace Quix
{
    public class DocuShareUser
    {
        public string email { get; set; }
        public string handle { get; set; }
        public string username { get; set; }
        public string displayname { get; set; }
    }

    public class DocuShareGroup
    {
        public string displayname { get; set; }
        public List<DocuShareUser> users { get; set; }
    }

    public class ACL
    {
        public List<ACE> ace { get; set; }
    }

    public class ACE
    {
        public string handle { get; set; }
        public List<XElement> permissions { get; set; }
    }

    public class DocuShareFile
    {
        public string document { get; set; }
        public List<ACL> acl { get; set; }
    }
}
